package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessDO;
import com.qk.domain.customer.CustomerDO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.dto.business.UpdateBusinessInfoDTO;
import com.qk.dto.customer.AddCustomerDTO;
import com.qk.dto.customer.CustomerPageDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessVO;

public interface BusinessService extends IService<Business> {
    void toCustomer(Integer id);

    void updateBusinessInfoById(UpdateBusinessInfoDTO updateBusinessInfoDTO);

    void saveBusiness(BusinessDTO businessDTO);

    PageResult<BusinessDO> businessList(BusinessListDTO businessListDTO);

    BusinessVO getBusinessById(Integer id);

    void deleteById(Integer id);

    PageResult<BusinessDO> listPool(BusinessPoolDTO dto);
}
